
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Resource</title>
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;interacting&nbsp;with&nbsp;a&nbsp;resource.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves&nbsp;a&nbsp;list&nbsp;of&nbsp;traffic.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;begin:&nbsp;string,&nbsp;Time&nbsp;to&nbsp;begin&nbsp;the&nbsp;list&nbsp;of&nbsp;traffic&nbsp;after&nbsp;(exclusive).<br>
&nbsp;&nbsp;end:&nbsp;string,&nbsp;Time&nbsp;to&nbsp;end&nbsp;the&nbsp;list&nbsp;of&nbsp;traffic&nbsp;at&nbsp;(inclusive).<br>
&nbsp;&nbsp;region:&nbsp;string,&nbsp;Region&nbsp;to&nbsp;list&nbsp;traffic&nbsp;for.<br>
&nbsp;&nbsp;product:&nbsp;string,&nbsp;Product&nbsp;to&nbsp;list&nbsp;traffic&nbsp;for.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;"items":&nbsp;[&nbsp;#&nbsp;The&nbsp;children&nbsp;on&nbsp;this&nbsp;item,&nbsp;uses&nbsp;a&nbsp;"loop"&nbsp;command&nbsp;to&nbsp;process&nbsp;the&nbsp;list.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"region":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Region&nbsp;this&nbsp;traffic&nbsp;was&nbsp;in.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"transparencyreport#traffic",&nbsp;#&nbsp;The&nbsp;kind&nbsp;of&nbsp;item&nbsp;this&nbsp;is.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"traffic":&nbsp;3.140000,&nbsp;#&nbsp;Amount&nbsp;of&nbsp;this&nbsp;traffic.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"product":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Product&nbsp;this&nbsp;traffic&nbsp;was&nbsp;for.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"timestampSeconds":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Timestamp&nbsp;in&nbsp;seconds&nbsp;since&nbsp;the&nbsp;epoch&nbsp;(UTC).<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"transparencyreport#trafficFeed",&nbsp;#&nbsp;The&nbsp;kind&nbsp;of&nbsp;item&nbsp;this&nbsp;is.<br>
&nbsp;&nbsp;}</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table>
</body></html>